﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace STF.OrangeDog.Model
{
    public class PublishForm:BaseModel
    {
       
        [Required(ErrorMessage ="{0}不能为空")]
        [StringLength(255),Column(TypeName ="varchar(255)")]
        [Display(Name ="形式名称")]
        public string title { get; set; }
        [Required(ErrorMessage = "{0}不能为空")]
        [StringLength(255), Column(TypeName = "varchar(255)")]
        [Display(Name = "形式描述")]
        public string details { get; set; }
    }
}
